package com.start.admin.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.start.admin.entity.StartSysRoleMenu;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysRoleMenuMapper extends BaseMapper<StartSysRoleMenu> {
    @Delete("delete from start_sys_role_menu  where role_id=#{roleId}")
    void deleteByRoleId(@Param("roleId") String roleId);



}
